package com.lt.bcra.service;

import com.lt.bcra.entity.BcraPersonalFactors;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lt.bcra.result.ResultData;

/**
 * <p>
 * 个人因素表 服务类
 * </p>
 *
 * @author LuoTian
 * @since 2022-05-25
 */
public interface BcraPersonalFactorsService extends IService<BcraPersonalFactors> {

    /**
     * 保存填写信息
     * @param bcraPersonalFactors
     * @return
     */
    ResultData saveModule(BcraPersonalFactors bcraPersonalFactors);

    /**
     * 修改个人因素
     * @param bcraPersonalFactors
     * @return
     */
    ResultData updateModule(BcraPersonalFactors bcraPersonalFactors);

    /**
     * 删除个人因素
     * @param questionnaireCode
     * @return
     */
    ResultData removeByQuesCode(String questionnaireCode);

    /**
     * 查看个人因素
     * @param questionnaireCode
     * @return
     */
    ResultData selectByQuesCode(String questionnaireCode);
}
